import java.util.Comparator;
import java.util.Set;
import java.util.TreeSet;

public class Task {

    public static void main(String[] args) {

        Set<Student> students = new TreeSet<>(/* TODO */);

        students.add(new Student("张三", 18, 80));
        students.add(new Student("李四", 20, 90));
        students.add(new Student("王五", 20, 100));
        students.add(new Student("王五", 20, 100));
        students.add(new Student("赵六", 22, 70));
        students.add(new Student("孙七", 22, 60));

        students.forEach(System.out::println);
    }
    
}